report_array_size_error Subroutine

public subroutine report_array_size_error(fcn, err, name, expected, actual)

Reports an array size error.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: fcn

The name of the function that failed.

class(errors), intent(inout) :: err

The error object to be updated.

character(len=*), intent(in) :: name

The name of the array.

integer(kind=int32), intent(in) :: expected

The expected size of the array.

integer(kind=int32), intent(in) :: actual

The actual size of the array.


Variables

Type Visibility Attributes Name Initial
character(len=256), public :: msg